package com.handinfo.android.core.input;

import android.graphics.PointF;
import android.graphics.RectF;

public abstract class DWInputListener
{
	private RectF mBounds;

	public DWInputListener(RectF bounds)
	{
		mBounds = bounds;
	}

	public abstract void doClick(PointF point);

	public boolean isContainPointF(PointF point)
	{
		return mBounds.contains(point.x, point.y);
	}
}
